package com.example.codegenerator.common.constant.global;

/**
 * 全局常量信息
 *
 * @author Lv
 * @date 2023/11/19
 */
public class GlobalConstant {
    /**
     * 日期信息
     */
    public static final String DATE = "date";

    /**
     * lombok
     */
    public static final String ENTITY_LOMBOK_MODEL = "entityLombokModel";

    /**
     * swagger
     */
    public static final String SWAGGER = "swagger2";

    /**
     * 逻辑删除字段
     */
    public static final String LOGIC_DELETE_FIELD_NAME = "logicDeleteFieldName";

    /**
     * 是否开启二级缓存
     */
    public static final String ENABLE_CACHE = "enableCache";

    /**
     * 通用查询结果集
     */
    public static final String BASE_RESULT_MAP = "baseResultMap";

    /**
     * 通用查询列
     */
    public static final String BASE_COLUMN_LIST = "baseColumnList";

    /**
     * mybatis-plus父类
     */
    public static final String SUPER_MAPPER_CLASS = "superMapperClass";

    /**
     * mybatis-plus父类导入包
     */
    public static final String SUPER_MAPPER_CLASS_PACKAGE = "superMapperClassPackage";

    /**
     * service接口父类
     */
    public static final String SUPER_SERVICE_CLASS = "superServiceClass";

    /**
     * service接口父类导入包
     */
    public static final String SUPER_SERVICE_CLASS_PACKAGE = "superServiceClassPackage";

    /**
     * serviceImpl 父类导入包
     */
    public static final String SUPER_SERVICE_IMPL_CLASS_PACKAGE = "superServiceImplClassPackage";

    /**
     * Iservice 父类导入包
     */
    public static final String SUPER_SERVICE_IMPL_CLASS = "superServiceImplClass";

    /**
     * 请求路径
     */
    public static final String API_PATH = "apiPath";

    /**
     * Mapper 基类
     */
    public static final String BASE_MAPPER = "BaseMapper";

    /**
     * service 基类
     */
    public static final String I_SERVICE = "IService";

    /**
     * serviceImpl 基类
     */
    public static final String SERVICE_IMPL = "ServiceImpl";

    /**
     * 字段列表
     */
    public static final String FILED_NAMES = "fieldNames";

    /**
     * 插入时间标识
     */
    public static final String CREATE_TIME_FLAG = "INSERT";

    /**
     * 修改时间标识
     */
    public static final String UPDATE_TIME_FLAG = "INSERT_UPDATE";

    /**
     * 主键自增策略
     */
    public static final String AUTO_INCREMENT = "auto_increment";

    /**
     * 主键标识
     */
    public static final String PRI_FLAG = "PRI";
}
